﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Top.aspx.cs" Inherits="Manage_Top" %>

<html>
<head>
    <title></title>
    <link rel="stylesheet" href="css/style.css" type="text/css" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <link rel="stylesheet" href="Themes/<%=ManageHelper.GetTheme() %>/style.css" type="text/css" />
</head>
<body style="margin-top: 0px;">
    <table cellspacing="0" cellpadding="0" width="100%" border="0">
        <tbody>
            <tr>
                <td rowspan="2" align="center" style="height: 57px; width: 180px;">
                    <a href="<%=KeRui.Kernel.Software.CompanyUrl %>" target="_blank">
                        <img src="pic/cmslogo2.gif" /></a>
                </td>
                <td colspan="2" style="padding-right: 10px; margin-top: 0px; line-height: 28px; height: 28px;
                    text-align: right;">
                    &nbsp;<script type="text/javascript">
                              var hour = (new Date()).getHours();
                              if (hour < 4) {
                                  hello = "夜深了，";
                              }
                              else if (hour < 7) {
                                  hello = "早安，";
                              }
                              else if (hour < 9) {
                                  hello = "早上好，";
                              }
                              else if (hour < 12) {
                                  hello = "上午好，";
                              }
                              else if (hour < 14) {
                                  hello = "中午好，";
                              }
                              else if (hour < 17) {
                                  hello = "下午好，";
                              }
                              else if (hour < 19) {
                                  hello = "您好，";
                              }
                              else if (hour < 22) {
                                  hello = "晚上好，";
                              }
                              else {
                                  hello = "夜深了，";
                              }
                              document.write(hello);
                    </script><span><%=KeRui.BLL.Admin.GetRealName() %>，欢迎使用
                        <%=KeRui.Kernel.Software.Name %>
                        系统！</span>&nbsp;&nbsp;&nbsp;&nbsp; <a href="main.aspx" target="_top">系统面板</a>&nbsp;|&nbsp;<a
                            href="user/theme.aspx" target="right">选项</a>&nbsp;|&nbsp;<a href="user/password.aspx"
                                target="right">修改密码</a>&nbsp;|&nbsp;<a href="logout.aspx" target="_top">退出</a>
                </td>
            </tr>
            <tr>
                <td>
                    <div class="toptitle">
                        <%=TopMenu %>
                    </div>
                </td>
                <td align="right">
                    <div class="toptitle">
                        <a href="<%=KeRui.Kernel.Software.CompanyUrl %>" target="_blank">版本：<%=KeRui.Kernel.Software.Version %></a></div>
                </td>
            </tr>
            <tr>
                <td colspan="3" class="topline">
                </td>
            </tr>
        </tbody>
    </table>
</body>
</html>
